
.layout {
  position: absolute;
  width: 100%;
  height: 100%;

  .sidebar-menu-con {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 21;
    transition: width .3s;
    background: rgb(73, 80, 96);
  }

  .layout-text {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    color: white;
  }

  .layout-hide-text .layout-text {
    display: none;
  }

  &-content-container {
    position: relative;
  }

  &-header-con {
    box-sizing: border-box;
    position: fixed;
    display: block;
    padding-left: 230px;
    width: 100%;
    z-index: 20;
    transition: padding .3s;
  }

  &-breadcrumb {
    padding: 8px 15px 0;
  }

  &-menu-left {
    background: #464c5b;
    height: 100%;
  }

  &-header {
    height: 60px;
    background: #fff;
    box-shadow: 0 2px 1px 1px rgba(100, 100, 100, .1);
    position: relative;
    //border: 3px solid;
    //border-color: red green yellow blue;
    z-index: 11;

    .navicon-con {
      margin: 6px;
      display: inline-block;
    }

    .header-middle-con {
      position: absolute;
      left: 60px;
      top: 0;
      right: 340px;
      bottom: 0;
      padding: 10px;
      overflow: hidden;
    }

    .header-avator-con {
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
      width: 130px;

      .message {
        display: inline-block;
        width: 30px;
        padding: 18px 0;
        text-align: center;
        cursor: pointer;

        i {
          vertical-align: middle;
        }
      }

      .user-dropdown {
        &-menu-con {
          position: absolute;
          right: 0;
          top: 0;
          width: 100px;
          height: 100%;

          .layout-username {
            display: inline-block;
            width: 80px;
            word-break: keep-all;
            white-space: nowrap;
            vertical-align: middle;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: right;
          }
        }

        &-innercon {
          height: 100%;
          padding-right: 20px;
        }
      }
    }
  }

  .content-page-con {
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 0;
    overflow: auto;
    background-color: #F0F0F0;
    z-index: 1;
    transition: left .3s;

    .content-page {
      margin: 15px;
      text-align: center;
    }
  }
}

.logo-con {
  padding: 0 8px;
  text-align: center;
  background-color: #131d38;

  a {
    height: 60px;
    width: auto;
  }
}

.myimg {
  width: 30px;
  margin-left: -5px;
  height: 32px;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  33% {
    transform: rotate(5deg);
  }
  66% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.logo-con img {
  position: relative;
  top: 10px;
}

.logo-con img:hover {
  transform-origin: center bottom;
  animation: wave 300ms infinite linear;
}

.ivu-icon-ios-bell {
  color: #f5b244;
}

.ivu-icon-ios-bell:hover {
  transform-origin: center bottom;
  animation: wave 300ms infinite linear;
  color: #e91e63;
}

.layout-header {
  background: #131d38;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, .5);
  color: #fff;
}

.ivu-icon-navicon {
  color: #f5b244;
}

.ivu-icon-navicon:hover {
  color: #e91e63;
}

.ivu-breadcrumb-item-link {
  /*渐变背景*/
  //background-image: -webkit-linear-gradient(left, #3498db, #f47920 10%, #d71345 20%, #f7acbc 30%,
  //#ffd400 40%, #3498db 50%, #f47920 60%, #d71345 70%, #f7acbc 80%, #ffd400 90%, #3498db);
  //background-image: -webkit-linear-gradient(left, red, yellow 10%, lime 20%, cyan 30%,
  //pink 40%, red 50%, yellow 60%, lime 70%, cyan 80%, pink 90%, red);
  background-image: -webkit-linear-gradient(left, #f5b244, #ff5500 10%, #ffcc66 20%, #ff511a 30%,
  #ff7800 40%, #f5b244 50%, #ff5500 60%, #ffcc66  70%, #ff511a 80%, #ff7800 90%, #f5b244);
  color: transparent; /*文字填充色为透明*/
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text; /*背景剪裁为文字，只将文字显示为背景*/
  background-size: 200% 100%; /*背景图片向水平方向扩大一倍，这样background-position才有移动与变化的空间*/
  /* 动画 */
  animation: masked-animation 4s infinite linear;
}

@keyframes masked-animation {
  0% {
    background-position: 0 0; /*background-position 属性设置背景图像的起始位置。*/
  }
  100% {
    background-position: -100% 0;
  }
}
